package com.jin.webvideo.base.rpc;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface RpcInterface {
    @AliasFor("prefix")
    String value() default "";
    @AliasFor("value")
    String prefix() default "";

    String[] headers() default {};
}
